#ifndef PLOT_MAGNIFIER_H_
#define PLOT_MAGNIFIER_H_

/**
 * @file PlotMagnifier.h
 */

#include <qwt_plot_magnifier.h>

class QWheelEvent;
class QMouseEvent;

namespace spectrum {

class PlotMagnifier : public QwtPlotMagnifier
{
    public:
        PlotMagnifier(QwtPlotCanvas * canvas);

        virtual ~PlotMagnifier() {}

    protected:
        virtual void widgetMousePressEvent(QMouseEvent *);
        virtual void widgetMouseReleaseEvent(QMouseEvent *);
        virtual void widgetWheelEvent(QWheelEvent *);
};


} // namespace spectrum
#endif // PLOT_MAGNIFIER_H_
